package io.adminboot.utils;

public enum ApiStatusEnum {

    SC_INTERNAL_SERVER_ERROR(500, "未知异常，请联系管理员"),
    SC_UNAUTHORIZED(401, "未授权");

    private int code;
    private String msg;

    ApiStatusEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
